package com.suke.czx.modules.tb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suke.czx.modules.tb.entity.TbLikes;

/**
 * 点赞表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-17 21:45:12
 */
public interface TbLikesMapper extends BaseMapper<TbLikes> {
    /**
     * 根据productId 查询 点赞数量
     * @param productId
     * @return
     */
    int likeCountByProductId(Long productId);
}
